package com.simple.common.message.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Description 消息表(Message)表实体类
 * @Author xiaoke
 * @Date 2024/8/10 18:00
 * @Version 1.0
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("message")
public class Message {
    @TableId
    //主键    
    private Long id;
    //用户Id
    private Long userId;
    //消息类型
    private String messageType;
    //消息标题
    private String title;
    //内容
    private String content;
    //通知类型
    private String noticeType;
    //通知类型目标
    private String noticeTypeTarget;
    //状态
    private Integer status;
    //创建时间
    private LocalDateTime createTime;
    //更新时间
    private LocalDateTime updateTime;
    //创建者id
    private Long creatorId;
    //更新者Id
    private Long updateId;
}

